﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200019F RID: 415
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CENAEBGECFE : IMessage<CENAEBGECFE>, IMessage, IEquatable<CENAEBGECFE>, IDeepCloneable<CENAEBGECFE>, IBufferMessage
	{
		// Token: 0x17000572 RID: 1394
		// (get) Token: 0x060012A9 RID: 4777 RVA: 0x000357F5 File Offset: 0x000339F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CENAEBGECFE> Parser
		{
			get
			{
				return CENAEBGECFE._parser;
			}
		}

		// Token: 0x17000573 RID: 1395
		// (get) Token: 0x060012AA RID: 4778 RVA: 0x000357FC File Offset: 0x000339FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CENAEBGECFEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000574 RID: 1396
		// (get) Token: 0x060012AB RID: 4779 RVA: 0x0003580E File Offset: 0x00033A0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CENAEBGECFE.Descriptor;
			}
		}

		// Token: 0x060012AC RID: 4780 RVA: 0x00035815 File Offset: 0x00033A15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CENAEBGECFE()
		{
		}

		// Token: 0x060012AD RID: 4781 RVA: 0x0003581D File Offset: 0x00033A1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CENAEBGECFE(CENAEBGECFE other) : this()
		{
			this.lIPJJJKALKB_ = other.lIPJJJKALKB_;
			this.value_ = other.value_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060012AE RID: 4782 RVA: 0x0003584E File Offset: 0x00033A4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CENAEBGECFE Clone()
		{
			return new CENAEBGECFE(this);
		}

		// Token: 0x17000575 RID: 1397
		// (get) Token: 0x060012AF RID: 4783 RVA: 0x00035856 File Offset: 0x00033A56
		// (set) Token: 0x060012B0 RID: 4784 RVA: 0x0003585E File Offset: 0x00033A5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CLILPLKGFDM LIPJJJKALKB
		{
			get
			{
				return this.lIPJJJKALKB_;
			}
			set
			{
				this.lIPJJJKALKB_ = value;
			}
		}

		// Token: 0x17000576 RID: 1398
		// (get) Token: 0x060012B1 RID: 4785 RVA: 0x00035867 File Offset: 0x00033A67
		// (set) Token: 0x060012B2 RID: 4786 RVA: 0x0003586F File Offset: 0x00033A6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Value
		{
			get
			{
				return this.value_;
			}
			set
			{
				this.value_ = value;
			}
		}

		// Token: 0x060012B3 RID: 4787 RVA: 0x00035878 File Offset: 0x00033A78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CENAEBGECFE);
		}

		// Token: 0x060012B4 RID: 4788 RVA: 0x00035886 File Offset: 0x00033A86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CENAEBGECFE other)
		{
			return other != null && (other == this || (this.LIPJJJKALKB == other.LIPJJJKALKB && this.Value == other.Value && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060012B5 RID: 4789 RVA: 0x000358C4 File Offset: 0x00033AC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				num ^= this.LIPJJJKALKB.GetHashCode();
			}
			if (this.Value != 0U)
			{
				num ^= this.Value.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060012B6 RID: 4790 RVA: 0x00035922 File Offset: 0x00033B22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060012B7 RID: 4791 RVA: 0x0003592A File Offset: 0x00033B2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060012B8 RID: 4792 RVA: 0x00035934 File Offset: 0x00033B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Value != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Value);
			}
			if (this.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				output.WriteRawTag(104);
				output.WriteEnum((int)this.LIPJJJKALKB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060012B9 RID: 4793 RVA: 0x0003598C File Offset: 0x00033B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.LIPJJJKALKB);
			}
			if (this.Value != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Value);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060012BA RID: 4794 RVA: 0x000359E4 File Offset: 0x00033BE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CENAEBGECFE other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				this.LIPJJJKALKB = other.LIPJJJKALKB;
			}
			if (other.Value != 0U)
			{
				this.Value = other.Value;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060012BB RID: 4795 RVA: 0x00035A34 File Offset: 0x00033C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060012BC RID: 4796 RVA: 0x00035A40 File Offset: 0x00033C40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.LIPJJJKALKB = (CLILPLKGFDM)input.ReadEnum();
					}
				}
				else
				{
					this.Value = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040007B8 RID: 1976
		private static readonly MessageParser<CENAEBGECFE> _parser = new MessageParser<CENAEBGECFE>(() => new CENAEBGECFE());

		// Token: 0x040007B9 RID: 1977
		private UnknownFieldSet _unknownFields;

		// Token: 0x040007BA RID: 1978
		public const int LIPJJJKALKBFieldNumber = 13;

		// Token: 0x040007BB RID: 1979
		private CLILPLKGFDM lIPJJJKALKB_;

		// Token: 0x040007BC RID: 1980
		public const int ValueFieldNumber = 1;

		// Token: 0x040007BD RID: 1981
		private uint value_;
	}
}
